﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using PhysicsControlModule.Models;

namespace PhysicsControlModule.Daos
{
    public class GroupDao
    {
        public static Group GetById(int id)
        {
            using (CmDbEntities db = new CmDbEntities())
                return db.Group.First(m => m.Id == id);
        }

    }
}